import request from '@/utils/request'

// 查询客户调拨单行列表
export function listTransferclientline(query) {
  return request({
    url: '/wm/transferclientline/list',
    method: 'get',
    params: query
  })
}

// 查询客户调拨单行详细
export function getTransferclientline(lineId) {
  return request({
    url: '/wm/transferclientline/' + lineId,
    method: 'get'
  })
}

// 新增客户调拨单行
export function addTransferclientline(data) {
  return request({
    url: '/wm/transferclientline',
    method: 'post',
    data: data
  })
}

// 修改客户调拨单行
export function updateTransferclientline(data) {
  return request({
    url: '/wm/transferclientline',
    method: 'put',
    data: data
  })
}

// 删除客户调拨单行
export function delTransferclientline(lineId) {
  return request({
    url: '/wm/transferclientline/' + lineId,
    method: 'delete'
  })
}
